package xyz.blushyes.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.blushyes.entity.CacheTest;

public interface CacheTestService extends IService<CacheTest> {

    /**
     * 根据number返回对应的id
     * @param number
     * @return
     */
    int notCache(int number);

    /**
     * 根据number返回对应的id，并用redis缓存
     * @param number
     * @return
     */
    int avalancheCache(int number);
}

